package com.ruoyi.park.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 路灯管理对象 omp_wy_lamp_management
 *
 * @author cjie
 * @date 2021-07-22
 */
@Data
@ApiModel
public class WyLampManagement extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** Id */
    @ApiModelProperty(value = "Id")
    private String id;

    /** 设备名称 */
    @Excel(name = "设备名称")
    @ApiModelProperty(value = "设备名称")
    private String deviceName;

    /** 设备编号 */
    @Excel(name = "设备编号")
    @ApiModelProperty(value = "设备编号")
    private String deviceNum;

    /** 设备类型 */
    @Excel(name = "设备类型")
    @ApiModelProperty(value = "设备类型")
    private String deviceType;

    /** 安装位置 */
    @Excel(name = "安装位置")
    @ApiModelProperty(value = "安装位置")
    private String installPosition;

    /** 管理地址 */
    @Excel(name = "管理地址")
    @ApiModelProperty(value = "管理地址")
    private String address;

    /** 维保单位 */
    @Excel(name = "维保单位")
    @ApiModelProperty(value = "维保单位")
    private String maintenanceProvider;

    /** 联系人 */
    @Excel(name = "联系人")
    @ApiModelProperty(value = "联系人")
    private String linkman;

    /** 厂家 */
    @Excel(name = "厂家")
    @ApiModelProperty(value = "厂家")
    private String manufactor;

    /** 联系电话 */
    @Excel(name = "联系电话")
    @ApiModelProperty(value = "联系电话")
    private String manPhone;

    /** 责任人 */
    @Excel(name = "责任人")
    @ApiModelProperty(value = "责任人")
    private String liableUser;

    /** 责任人电话 */
    @Excel(name = "责任人电话")
    @ApiModelProperty(value = "责任人电话")
    private String userPhone;

    /** 开灯时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开灯时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "开灯时间")
    private Date openTime;

    /** 关灯时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "关灯时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "关灯时间")
    private Date offTime;

    /** 开灯时长 */
    @Excel(name = "开灯时长")
    @ApiModelProperty(value = "开灯时长")
    private String duration;

    /** 删除标志(0正常 1删除) */
    @ApiModelProperty(value = "删除标志(0正常 1删除)")
    private String delFlag;

    /** 租户Id */
    @Excel(name = "租户Id")
    @ApiModelProperty(value = "租户Id")
    private String tenantId;

    /** 园区id */
    @Excel(name = "园区id")
    @ApiModelProperty(value = "园区id")
    private String parkId;


    //以下属性为页面视图属性
    /** 园区编号 */
    @Excel(name = "园区编号")
    @ApiModelProperty(value = "园区编号")
    private String parkNum;
}
